package com.es.service.impl;

import com.es.bean.Student;
import com.es.dao.StudentDaoI;
import com.es.dao.impl.StudentDaoImpl;
import com.es.service.StudentService;

import java.util.List;

/**
 * 描述:
 * es-jsp-
 *
 * @author Derek
 * 创建时间：2022-04-25 10:08
 */
public class StudentServiceImpl implements StudentService {
    StudentDaoI dao = new StudentDaoImpl();
    @Override
    public boolean save(Student student) {
        return dao.save(student);
    }

    @Override
    public boolean update(Student student) {
        return false;
    }

    @Override
    public List<Student> list() {

        return dao.list();
    }

    @Override
    public Student get(Integer id) {
        return null;
    }

    @Override
    public boolean delete(Integer id) {
        return false;
    }
}
